
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class Lowmoney_Reducer extends Reducer  <Lowmoney_FlowBean,Text,Text,Lowmoney_FlowBean >{
    @Override
    protected void reduce(Lowmoney_FlowBean key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
        for (Text value : values){
            context.write(value,key);
        }
    }
}